package cang.string.Day02;

public class Demo04 {
    public static void main(String[] args) {
        /*
        正则数量词
        \w{8,20}
         */
        String name = "Andy_Wang";
        boolean b = name.matches("\\w{8,20}");
        System.out.println(b);
    }
}
